﻿<%@ Page Language="C#" AutoEventWireup="true"   CodeBehind="ChangeAdd.aspx.cs" Inherits="UI.ModSalesman.ChangeAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>促销员变动表</title>
    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
       <script type="text/javascript" src="../JS/jsFunction.js"></script>
    <script src="../JS/calendar.js" type="text/javascript"></script>
          
</head>
<body onload="window.document.forms[0].txtEmpCode.focus();">
    <form id="form1" runat="server">
     <br />
    &nbsp;<br />
    &nbsp;<p style="text-align: center; font-size: large;">
        <strong>职位变动信息管理</strong></p>
    <br />
    <table style="width: 75%;" align="center" class="td">
        <tr>
            <td>
                员工编号:
            </td>
            <td>
                <asp:TextBox ID="txtEmpCode" runat="server" CssClass="InputCss" Width="100px"
                    AutoPostBack="True" OnTextChanged="txtEmpCode_TextChanged"></asp:TextBox>
                     <a href="javascript:ShowLink('SalemanCodeForInput.aspx',880,550)"><img src="../Images/Search.gif" alt="搜索" width="27" height="12" border="0" /></a>
                <asp:RequiredFieldValidator ID="rfvEmpCode" runat="server" 
                    ControlToValidate="txtEmpCode" ErrorMessage="*工号必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
             <td>
                员工姓名:
            </td>
            <td>
                <asp:TextBox ID="txtEmpName" runat="server" CssClass="InputCss" Width="100px" 
                    TabIndex="1" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            </tr>
            <tr>
            <td>
                原部门:
            </td>
            <td>
                <asp:TextBox ID="txtOldDeptName" runat="server" CssClass="InputCss" Width="100px"
                    TabIndex="2" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            <td>
                新部门:
            </td>
            <td>
                <asp:TextBox ID="txtNewDeptName" runat="server" CssClass="InputCss" Width="100px"
                    TabIndex="3" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td>
                在职状态:
            </td>
            <td>
                <asp:TextBox ID="txtStateName" runat="server" CssClass="InputCss" Width="100px" 
                    TabIndex="4" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
            <td>
                在职类型:
            </td>
            <td>
               
                <asp:TextBox ID="txtTypeName" runat="server" CssClass="InputCss" Width="100px"  onkeydown="if(event.keyCode==13)event.keyCode=9" 
                    TabIndex="5"></asp:TextBox>
            </td>
           
        </tr>
        <tr>
         <td>
                生效时间:
            </td>
            <td>
                <asp:TextBox ID="txtChangeTime" runat="server"  maxlength="10" onclick="setday(this,false)" onkeypress="return validateKey(this,false, getkeyCode(event));" style="ime-mode:Disabled;" 
                    CssClass="InputCss" Width="100px"
                    TabIndex="6" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvTime" runat="server" 
                    ControlToValidate="txtChangeTime" ErrorMessage="*时间必填" ForeColor="Red"></asp:RequiredFieldValidator>
            </td>
             <td>
                
            </td>
             <td>
                
            </td>
        </tr>
        <tr>
            <td>
                备注:
            </td>
            <td colspan="3">
                <asp:TextBox ID="txtMemo" runat="server" CssClass="InputCss" Width="420px" TabIndex="7"
                    Rows="3" TextMode="MultiLine" onkeydown="if(event.keyCode==13)event.keyCode=9" ></asp:TextBox>
            </td>
        </tr>
    </table>
    <p style="text-align: center;">
        <asp:HiddenField ID="hidSaleManID" runat="server" />
        <asp:Button ID="btnAdd" runat="server" Text="增加" OnClick="btnAdd_Click" 
            TabIndex="8" />
        &nbsp;<asp:Button ID="btnUpdate" runat="server" Text="更新" 
            OnClick="btnUpdate_Click" TabIndex="9" />
        &nbsp;<asp:Button ID="btnDelete" runat="server" Text="删除" 
            OnClick="btnDelete_Click" TabIndex="10" />
        &nbsp;<asp:Button ID="btnClose" runat="server" onclick="btnClose_Click" Text="关闭" 
            TabIndex="12" CausesValidation="False" />
    </p>
    </form>
</body>
</html>
